MPI_IFORT =mpif90

SRCS=	nrutil.f90	\
	simplex.f90	\
        anneal.f90      \
	matrix.f90	\
        statistics.f90             \
        integration.f90 \
        probability.f90 \
        random.f90      \
        globvar.f90     \
        init.f90       \
        minimization.f90 \
        ars.f90 \
        data.f90  \
        moments.f90      \
        moments2.f90      \
	main.f90
mpi:
	$(MPI_IFORT) $(SRCS) -O3 -unroll -ip -g -traceback -o test.exe -mkl -lmkl_blas95_lp64 -lmkl_lapack95_lp64
mdebug:
	$(MPI_IFORT) $(SRCS) -g -fcheck=bounds -o debug.exe -mkl -lmkl_blas95_lp64 -lmkl_lapack95_lp64

clean:
	rm -rf *.mod *.o *.exe *.ipo *.il *~ \#* PI*



 

